import React, { Component } from 'react';
class Loading extends Component {
    constructor(props) {
        super(props);
        this.state = {}
    }
    render() {
        return (
            <div>
                {this.props.loadingState ? (<div class="ui-loading-block show">
                    <div class="ui-loading-cnt">
                        <i class="ui-loading-bright"></i>
                        <p>正在加载中...</p>
                    </div>
                </div>) : ''}
            </div>

        );
    }
}

export default Loading